// 引入封装好的request
import request  from "@/utils/request";
// 获取所有用户
export const getUsers = (data)=>{
    return request({
        url:'/usersmanage/getusers',
        method:'POST',
        data
    })
}
// 改变用户状态
export const delUser = (data)=>{
    return request({
        url:'/usersmanage/deluser',
        method:'POST',
        data
    })
}
// 改变用户身份
export const identity = (data)=>{
    return request({
        url:'/usersmanage/identity',
        method:'POST',
        data
    })
}